package com.mdlib.helper.model.entity;

import com.google.gson.annotations.SerializedName;

import java.io.Serializable;

/**
 * Created by librabin on 16/10/20.
 */

public class WXUser implements Serializable {


    @SerializedName("access_token")
    private String accessToken;

    @SerializedName("openid")
    private String openId;

    @SerializedName("unionid")
    private String uid;

    @SerializedName("nickname")
    private String nickName;       // 用户昵称

    @SerializedName("headimgurl")
    private String avatar;      // 头像地址

    private String sex;     // 性别


    public String getUid() {
        return uid;
    }

    public void setUid(String uid) {
        this.uid = uid;
    }

    public String getNickName() {
        return nickName;
    }

    public void setNickName(String nickName) {
        this.nickName = nickName;
    }

    public String getAvatar() {
        return avatar;
    }

    public void setAvatar(String avatar) {
        this.avatar = avatar;
    }

    public String getSex() {
        return sex;
    }

    public void setSex(String sex) {
        this.sex = sex;
    }

    public String getAccessToken() {
        return accessToken;
    }

    public void setAccessToken(String accessToken) {
        this.accessToken = accessToken;
    }

    public String getOpenId() {
        return openId;
    }

    public void setOpenId(String openId) {
        this.openId = openId;
    }
}
